package com.scorpionstudio.girlstoryshop;

import android.app.Activity;
import android.os.Bundle;

import com.bugsense.trace.BugSenseHandler;
import com.google.analytics.tracking.android.EasyTracker;

/**
 * Created by mrtuan on 9/4/13.
 */
public class ScorpionActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        BugSenseHandler.initAndStartSession(getApplicationContext(), "6a0f68dc");
    }

    @Override
    protected void onStart() {
        super.onStart();
        EasyTracker.getInstance().setContext(getApplicationContext());
        EasyTracker.getTracker().sendView(getClass().getSimpleName());
    }

    @Override
    protected void onStop() {
        super.onStop();
        EasyTracker.getInstance().dispatch();
    }
}
